package com.huahai.service;

import com.huahai.pojo.dto.liked.LikedAddDTO;
import com.huahai.pojo.entity.Liked;
import com.baomidou.mybatisplus.extension.service.IService;
import com.huahai.pojo.entity.User;

/**
* @author huahai
* @description 针对表【liked(点赞)】的数据库操作Service
* @createDate 2025-08-25 16:00:11
*/
public interface LikedService extends IService<Liked> {

    /**
     * 添加点赞
     * @param likedAddDTO 添加点赞请求参数
     * @param loginUser 登录用户
     * @return 是否成功
     */
    Boolean addLiked(LikedAddDTO likedAddDTO, User loginUser);
}
